package com.cdsxt.po;

import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.cdsxt.base.BaseEntity;

@Entity
@Table(name = "litemall_category")
/**
 * @author 成都尚学堂 & mr zeng
 * 客服热线：028-65176856
 * 网址： www.cd-sxt.com
 * 
 * 商品类别模块
 */
public class LitemallCategoryPo extends BaseEntity {

	
	 //类目名称
	private String name;
	 //类目广告语介绍
	private String descInfo;
	 //分类的类型（1平台特卖，2商家自营）
	private Byte type;
	 //门店id
	private Integer shopId;
	 //类目图标
	private String iconUrl;
	 //类目图片
	private String picUrl;
	 //
	private String level;
	 //父类目ID
	private Integer pid;
	 //排序
	private Byte sortOrder;
	 //逻辑删除
	private Byte deleted;
	
	 
	public LitemallCategoryPo() {
	}
	
	public void setName(String  name){
	 		this.name=name;
	}
	public void setDescInfo(String  descInfo){
	 		this.descInfo=descInfo;
	}
	public void setType(Byte  type){
	 		this.type=type;
	}
	public void setShopId(Integer  shopId){
	 		this.shopId=shopId;
	}
	public void setIconUrl(String  iconUrl){
	 		this.iconUrl=iconUrl;
	}
	public void setPicUrl(String  picUrl){
	 		this.picUrl=picUrl;
	}
	public void setLevel(String  level){
	 		this.level=level;
	}
	public void setPid(Integer  pid){
	 		this.pid=pid;
	}
	public void setSortOrder(Byte  sortOrder){
	 		this.sortOrder=sortOrder;
	}
	public void setDeleted(Byte  deleted){
	 		this.deleted=deleted;
	}
	 
	 
	public String getName(){
	 		return this.name;
	}
	public String getDescInfo(){
	 		return this.descInfo;
	}
	public Byte getType(){
	 		return this.type;
	}
	public Integer getShopId(){
	 		return this.shopId;
	}
	public String getIconUrl(){
	 		return this.iconUrl;
	}
	public String getPicUrl(){
	 		return this.picUrl;
	}
	public String getLevel(){
	 		return this.level;
	}
	public Integer getPid(){
	 		return this.pid;
	}
	public Byte getSortOrder(){
	 		return this.sortOrder;
	}
	public Byte getDeleted(){
	 		return this.deleted;
	}
	
	
	public String toString() {

		StringBuilder sb=new StringBuilder("\nLitemallCategoryPo【数据信息】：");
		sb.append("父类的信息："+super.toString());
		sb.append("自己类的信息：");
		sb.append("name");
		sb.append("=");
		sb.append(this.name);
		sb.append(", ");
		sb.append("descInfo");
		sb.append("=");
		sb.append(this.descInfo);
		sb.append(", ");
		sb.append("type");
		sb.append("=");
		sb.append(this.type);
		sb.append(", ");
		sb.append("shopId");
		sb.append("=");
		sb.append(this.shopId);
		sb.append(", ");
		sb.append("iconUrl");
		sb.append("=");
		sb.append(this.iconUrl);
		sb.append(", ");
		sb.append("picUrl");
		sb.append("=");
		sb.append(this.picUrl);
		sb.append(", ");
		sb.append("level");
		sb.append("=");
		sb.append(this.level);
		sb.append(", ");
		sb.append("pid");
		sb.append("=");
		sb.append(this.pid);
		sb.append(", ");
		sb.append("sortOrder");
		sb.append("=");
		sb.append(this.sortOrder);
		sb.append(", ");
		sb.append("deleted");
		sb.append("=");
		sb.append(this.deleted);
		sb.append(", ");
		
		return sb.toString();
	}

}
